restructure Api class, added username/password and also added these to unicode exceptions which has been renamed encoding_exceptions. re-used base_encode for dryness. version 1.2.3 --> 1.2.4