testing spring framework auth