Why not just {:auth => {:user => user, :password => password}} ?