Replaces the most-unimplemented custom authentication solution with a half-implemented Spring Security solution.