Here is the solution if anybody need it:
security default-keychain -s "`echo ~`/Library/Keychains/login.keychain-db"
Should work, make bash expand the tild and avoid bad security path management.
Topic:
App & System Services
SubTopic:
Core OS
Tags: