Improved password validation and fixed some VCCS problems. Is not
finished yet.