Test automation identity

Hopefully final test for identity to change password. Also a small potential fix for flakiness of facebook signin and some refactorings.
I am not religious about any SW principle, including data test attributes. But moving it to the top of the class is fine for me.