#JC-1743:Remember me doesn't work for some people:
*Removed not used methods
*Added javadoc
*Added unit tests