fix basic authentication in tests
test for redirect
ALM-707 handle association with crossref_id in publisher model
small change to user factory