Fix error in user authentication when voting and adding stuff to admin