Login problem when using username like email containing @

You just need to escape the @ symbol:

Unescaped Character
Encoded Sequence

\20
"
\22
&
\26

\27
/
\2f
:
\3a
<
\3c

\3e
@
\40

\5c