fix coding standard
add test case for login with remember option