Update fabfile
Refactor test in test_auth