Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.

Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
Fixed #23145 -- Dropped support for Oracle < 11.1
Fixed #23144 -- Dropped support for MySQL 5.0, 5.1.