Make sure that sequelize.authenticate() passes the real error instead of squashing it
Added an alias for sequelize.authenticate: sequelize.validate()
Fixed test for postgres specific errors
Fix test where included as incorrectly used
make consistent use of as when creating associations and flag aliases
getAssociation finds by alias if provided
refactor validateIncludedElement to utilise altered getAssociation
refactor quote function to use getAssociation
Merge pull request #1365 from overlookmotel/order-by-associations-refactor

Order by associations refactor
Fix mariadb test
Merge pull request #1351 from saschagehlich/bugfix/authenticate-error

Make sure that sequelize.authenticate() passes the real error instead of squashing it