tests for create_login_profile and update_login_profile